package comday08.itheima02;

public class Demo01 {
    public static void main(String[] args) {

        //StringBuilder如何创建对象？

        //我们把String称为不可变字符串,把StringBuiler称为可变字符串

        //方式一
        StringBuilder sb1 = new StringBuilder();
        System.out.println(sb1);


        //方式二
        StringBuilder sb2 = new StringBuilder("abc");
        System.out.println(sb2);
    }
}
